@controlHeight: 30px;

.videobox {
    position: relative;

    .video-black {
        background: black;
        position: absolute;
        top: 0;
        width: 100%;
        bottom: 32px;
    }

    .controls {
        height: @controlHeight;
        background-color: rgba(0,0,0,.4);
        position: relative;
        top: -5px;
        color: white;

        .name {
            position: absolute;
            left: 3px;
            line-height: @controlHeight;
        }

        .ctrl {
            position: absolute;
            line-height: @controlHeight;
            right: 3px;
            .icon {
                width: @controlHeight;
                height: @controlHeight;
                display: inline-block;
                background-repeat: no-repeat;
                background-position: center;
                position: relative;
                &:hover {
                    cursor: pointer;
                }
            }

            .off::after {
                content: "";
                background-image: url();
                position: absolute;
                width: 18px;
                height: 18px;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
            }

            .video {
                background-image: url(../../assets/svg/video.svg);
            }

            .audio {
                background-image: url(../../assets/svg/audio.svg);
            }
        }
    }
}